package com.itfreer.gis.server.vector.mapbox;

import org.locationtech.jts.geom.Geometry;

import no.ecc.vectortile.VectorTileEncoder;

/**
 * 定义不切割的切片构建器
 */
public class VectorTileEncoderNoClip extends VectorTileEncoder {

    public VectorTileEncoderNoClip() {
        super(4096, 16, false);
    }

    /*
     * 不按切片范围切割，切割算法已在构建器中处理
     */
    @Override
    protected Geometry clipGeometry(Geometry geometry) {
        return geometry;
    }
}
